package cn.yangliu.operation.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import cn.yangliu.operation.constant.OperateLevelConstant;


/**
 * Created by 杨柳 on 2016/8/5 0005.
 * 标记操作行为
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Action {

    String value();

    String operateLevel() default OperateLevelConstant.NORMAL;

    boolean recordParams() default false;
}

